﻿using System.Collections.Generic;
using Microsoft.Windows.Design.PropertyEditing;

namespace DenisVuyka.Controls.PropertyGrid.Data
{
  public class CategoryEntryComparer : IComparer<CategoryEntry>
  {
    #region IComparer<CategoryEntry> Members

    public virtual int Compare(CategoryEntry x, CategoryEntry y)
    {
      return x.CategoryName.CompareTo(y.CategoryName);
    }

    #endregion
  }
}
